package com.turing.post.salesmanage.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 赎回单状态迁移明细
 * 
 * @author zxp
 * @Jan 29, 2013
 */
@Remote
@Local
public interface RedempOrderActionDetailDao {

	/**
	 * 状态迁移明细录入
	 * 
	 * @param road
	 * @throws PCPSApplicationException
	 */
	public void insertRedempOrderActionDetail(RedempOrderActionDetail road)
			throws PCPSApplicationException;

	/**
	 * 分页查询赎回单状态迁移明细
	 * 
	 * @param redempOrderId
	 *            赎回单编号
	 * @param page
	 * @return
	 */
	public List<RedempOrderActionDetail> getRedempOrderActionDetailList(
			BigInteger redempOrderId, Integer page);

	/**
	 * 查询赎回单状态迁移明细记录数
	 * 
	 * @param redempOrderId
	 *            赎回单编号
	 * @return 记录数
	 */
	public BigInteger getRedempOrderActionDetailTotal(BigInteger redempOrderId);
}
